package com.seafwg.aopanno;

import com.seafwg.aopanno.target.TargetInterface;
import org.junit.Test;
import org.junit.runner.RunWith;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.test.context.ContextConfiguration;
import org.springframework.test.context.junit4.SpringJUnit4ClassRunner;

/**
 * @Author seafwg
 * @Date 2022/3/9 2:56 下午
 * @Version 1.0
 * @description xxx
 */

@RunWith(SpringJUnit4ClassRunner.class)
@ContextConfiguration("classpath:applicationContext-aopanno.xml")
public class test {

    @Autowired
    private TargetInterface target;

    @Test
    public void testAopAnno() {
        target.save();
    }
}
